﻿using System;
using NLog;

namespace NLogDemo
{
    class Program
    {
        private static ILogger _logger = LogManager.GetCurrentClassLogger();// .GetLogger("DemoLog");

        static void Main(string[] args)
        {
            Console.WriteLine("starting...");
            _logger.Debug("Hello world Deb");
            _logger.Info("Hello world Info");
            _logger.Error("Hello world Error");

            Console.WriteLine("Hello World!");
            Console.Read();
        }
    }
}
